package com.fengzai.jdkproxy;

/**
 * Created by  峰仔  on 2017-08-03
 */
public class FangdongImpl implements Fangdong {
    private String name;

    public FangdongImpl(String name) {
        this.name = name;
    }

    public void chuzu() {
        System.out.println("我是房东--" + name + "： 我要出组房屋");
    }

    @Override
    public String chuzu(String name) {
        return name;
    }
}
